package com.spring.study;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: David
 * @Date: 2020/12/28  18:31
 * @Version 1.0
 */
public class TestMain {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext("com.spring.study");
		for (String beanDefinitionName : applicationContext.getBeanDefinitionNames()) {
			System.out.println("beanDefinitionName = " + beanDefinitionName);
		}
	}
}
